package org.dfzt.common.system.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
/**
 * @author furao
 * @desc
 * @date 2020/5/26
 * @package org.dfzt.common.system.service
 */
public interface IUploadService {
    String upload(MultipartFile file, String bizPath, String uploadType);

    void removeFile(String fileName, String bizPath);
    String getObjectURL(String fileName, String bizPath, Integer expires);
    InputStream getMinioFile(String fileName, String bizPath);
}
